package com.lepan.ovgms;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.lepan.ovgms.manages.ManagesActivity;
import com.lepan.ovgms.user.UserActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by pc on 2016/4/28.
 */
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.bt_managers)
    public void startManagesActivity(View view) {
        ManagesActivity.startManagesActivity(MainActivity.this);
    }

    @OnClick(R.id.bt_user)
    public void startUserActivity(View view) {
        UserActivity.startUserActivity(MainActivity.this);
    }
}
